package com.chuangshu.orange.dto;

import java.util.Date;

/**
 * @author Guo Jiaqi
 * @version 1.0
 * @date 2021/4/1 21:17
 */
public class CollectionAll {
    private Integer id;//集合id

    private String name;

    private String context;

    private Date createTime;

    private Integer lookedNum;

    private String pic;

    private Integer thumb;

    private String createWriter;

    private String createPic;

    private String type;

    private Integer userId;//用户id

    public CollectionAll() {
    }

    public CollectionAll(Integer id, String name, String context, Date createTime, Integer lookedNum, String pic, Integer thumb, String createWriter, String createPic, String type, Integer userId) {
        this.id = id;
        this.name = name;
        this.context = context;
        this.createTime = createTime;
        this.lookedNum = lookedNum;
        this.pic = pic;
        this.thumb = thumb;
        this.createWriter = createWriter;
        this.createPic = createPic;
        this.type = type;
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLookedNum() {
        return lookedNum;
    }

    public void setLookedNum(Integer lookedNum) {
        this.lookedNum = lookedNum;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getThumb() {
        return thumb;
    }

    public void setThumb(Integer thumb) {
        this.thumb = thumb;
    }

    public String getCreateWriter() {
        return createWriter;
    }

    public void setCreateWriter(String createWriter) {
        this.createWriter = createWriter;
    }

    public String getCreatePic() {
        return createPic;
    }

    public void setCreatePic(String createPic) {
        this.createPic = createPic;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "CollectionAll{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", context='" + context + '\'' +
                ", createTime=" + createTime +
                ", lookedNum=" + lookedNum +
                ", pic='" + pic + '\'' +
                ", thumb=" + thumb +
                ", createWriter='" + createWriter + '\'' +
                ", createPic='" + createPic + '\'' +
                ", type='" + type + '\'' +
                ", userId=" + userId +
                '}';
    }
}
